From: Sergio Costas Rodriguez Date: Tue, 10 Mar 2026 11:52:39 +0000 (+0100) Subject: appDisplay: Fix focus path when edit is enabled X-Git-Tag: archive/raspbian/50.5-1+rpi1~1^2~28^2~4^2^2~7 X-Git-Url: https://dgit.raspbian.org/%22http://www.example.com/cgi/%22/%22http:/www.example.com/cgi/%22?a=commitdiff_plain;h=4bc510e55ab2d921f9511376be755f5358290362;p=gnome-shell.git appDisplay: Fix focus path when edit is enabled When an app folder is open and its panel is shown, there are three main elements: the folder name, the list of apps, and the Edit togglebutton. By default, the user can use TAB to jump between the app icons and the Edit togglebutton, but when the togglebutton is checked, the folder name becomes editable and the focus jumps to it. Unfortunately, if the user goes out of the editable name with TAB, the focus only cycles between the Edit togglebutton and the app icons, never landing over the editable folder name (which remains editable until the Edit togglebutton is unchecked). This patch fixed this, making the editable folder name focusable when using TAB, as expected, when the Edit togglebutton is checked. Part-of: (cherry picked from commit e19ee787a37dc6e5b71485d2eab3109da62fe290) --- diff --git a/js/ui/appDisplay.js b/js/ui/appDisplay.js index 83169cdf3..2699e94d8 100644 --- a/js/ui/appDisplay.js +++ b/js/ui/appDisplay.js @@ -2604,13 +2604,14 @@ export const AppFolderDialog = GObject.registerClass({ } _switchActor(from, to) { - to.reactive = true; + to.reactive = to.can_focus = true; to.ease({ opacity: 255, duration: 300, mode: Clutter.AnimationMode.EASE_OUT_QUAD, }); + from.can_focus = false; from.ease({ opacity: 0, duration: 300,